﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FA1 RID: 4001
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMiracleSelectResult : IMessage<RogueMiracleSelectResult>, IMessage, IEquatable<RogueMiracleSelectResult>, IDeepCloneable<RogueMiracleSelectResult>, IBufferMessage
	{
		// Token: 0x170032B7 RID: 12983
		// (get) Token: 0x0600B341 RID: 45889 RVA: 0x001E42F4 File Offset: 0x001E24F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMiracleSelectResult> Parser
		{
			get
			{
				return RogueMiracleSelectResult._parser;
			}
		}

		// Token: 0x170032B8 RID: 12984
		// (get) Token: 0x0600B342 RID: 45890 RVA: 0x001E42FB File Offset: 0x001E24FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMiracleSelectResultReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170032B9 RID: 12985
		// (get) Token: 0x0600B343 RID: 45891 RVA: 0x001E430D File Offset: 0x001E250D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMiracleSelectResult.Descriptor;
			}
		}

		// Token: 0x0600B344 RID: 45892 RVA: 0x001E4314 File Offset: 0x001E2514
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMiracleSelectResult()
		{
		}

		// Token: 0x0600B345 RID: 45893 RVA: 0x001E431C File Offset: 0x001E251C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMiracleSelectResult(RogueMiracleSelectResult other) : this()
		{
			this.miracleSelectId_ = other.miracleSelectId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B346 RID: 45894 RVA: 0x001E4341 File Offset: 0x001E2541
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMiracleSelectResult Clone()
		{
			return new RogueMiracleSelectResult(this);
		}

		// Token: 0x170032BA RID: 12986
		// (get) Token: 0x0600B347 RID: 45895 RVA: 0x001E4349 File Offset: 0x001E2549
		// (set) Token: 0x0600B348 RID: 45896 RVA: 0x001E4351 File Offset: 0x001E2551
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MiracleSelectId
		{
			get
			{
				return this.miracleSelectId_;
			}
			set
			{
				this.miracleSelectId_ = value;
			}
		}

		// Token: 0x0600B349 RID: 45897 RVA: 0x001E435A File Offset: 0x001E255A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMiracleSelectResult);
		}

		// Token: 0x0600B34A RID: 45898 RVA: 0x001E4368 File Offset: 0x001E2568
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMiracleSelectResult other)
		{
			return other != null && (other == this || (this.MiracleSelectId == other.MiracleSelectId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B34B RID: 45899 RVA: 0x001E4398 File Offset: 0x001E2598
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MiracleSelectId != 0U)
			{
				num ^= this.MiracleSelectId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B34C RID: 45900 RVA: 0x001E43D7 File Offset: 0x001E25D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B34D RID: 45901 RVA: 0x001E43DF File Offset: 0x001E25DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B34E RID: 45902 RVA: 0x001E43E8 File Offset: 0x001E25E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MiracleSelectId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.MiracleSelectId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B34F RID: 45903 RVA: 0x001E441C File Offset: 0x001E261C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MiracleSelectId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MiracleSelectId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B350 RID: 45904 RVA: 0x001E445A File Offset: 0x001E265A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMiracleSelectResult other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MiracleSelectId != 0U)
			{
				this.MiracleSelectId = other.MiracleSelectId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B351 RID: 45905 RVA: 0x001E448B File Offset: 0x001E268B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B352 RID: 45906 RVA: 0x001E4494 File Offset: 0x001E2694
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MiracleSelectId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400487E RID: 18558
		private static readonly MessageParser<RogueMiracleSelectResult> _parser = new MessageParser<RogueMiracleSelectResult>(() => new RogueMiracleSelectResult());

		// Token: 0x0400487F RID: 18559
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004880 RID: 18560
		public const int MiracleSelectIdFieldNumber = 6;

		// Token: 0x04004881 RID: 18561
		private uint miracleSelectId_;
	}
}
